import Vue from 'vue'
import App from './App.vue'
import router from "./router/index"
import { CountDown,Icon,Tabbar,TabbarItem,Search,List, Grid, GridItem,Cell, CellGroup,GoodsAction, GoodsActionIcon, GoodsActionButton,TreeSelect,Form,Field,Button, Card,AddressList,Swipe,SwipeItem,Tag,AddressEdit   } from 'vant';
Vue.use(CountDown);
Vue.use(Icon);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Search);
Vue.use(List);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(TreeSelect);
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Card);
Vue.use(AddressList);
Vue.use(AddressEdit);

Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Tag)



import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import server  from './utils/server'
Vue.config.productionTip = false
Vue.use(ElementUI);

Vue.prototype.$server=server
new Vue({
  render: h => h(App),
  router
}).$mount('#app')
